package com.xjtu.se.homework.client.feedback.dao;

import com.xjtu.se.homework.client.feedback.dto.BackDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserFeedbackDao {
    @Select("insert into user_feedback values(#{u_id}, #{f_id}, #{f_infor}, #{f_image}, #{u_email}, #{f_status}, #{f_time})")
    void upload(BackDto dto);
}
